/**
 * @project spring-threadpool-async
 * @description
 * @errorcode SystemException</ br>
 * @author 2022 14:42 huzhengyang Create 1.0 <br>
 * @copyright ©2022-2023
 */

package com.teradata.async;


import com.teradata.async.config.TaskThreadPoolConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.scheduling.annotation.EnableAsync;

@EnableAsync //开启异步支持
@SpringBootApplication
//@EnableConfigurationProperties({TaskThreadPoolConfig.class})//开启配置类属性支持
public class SpringAsyncPoolStarter {

    public static void main(String[] args) {
        SpringApplication.run(SpringAsyncPoolStarter.class, args);
    }

}
